package com.wing.product.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import com.wing.common.utils.JsonResult;
import com.wing.common.utils.PageResult;
import com.wing.product.model.entity.WarehouseSignOrder;
import com.wing.product.model.request.WarehouseSignOrderForm;
import com.wing.product.model.response.WarehouseShipmentOrderInfoVO;
import com.wing.product.model.response.WarehouseSignOrderInfoVO;
import com.wing.product.model.response.WarehouseSignOrderVO;

import java.util.List;
import java.util.Map;

public interface WarehouseSignOrderService extends IService<WarehouseSignOrder> {

    Boolean save(WarehouseSignOrderForm warehouseSignOrderForm);

    Page<WarehouseSignOrderVO> pageList4app(Page page, Map<String, Object> params);

    JsonResult<Map<String,Object>> selectLogistics();

    WarehouseShipmentOrderInfoVO info(Long id);

    WarehouseShipmentOrderInfoVO addInfo(String waybill);

    Boolean signSingle(Long id ,String remarks, Long signQualified,Long areaId,Long spaceId,Long unqualifiedId,String unqualifiedReason);

    Boolean updateStatus(Long id, Integer status);

    Page<WarehouseSignOrderVO> List4app(Page page, Map<String, Object> params);


}
